home *** CD-ROM | disk | FTP | other *** search
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <meta NAME="Author,Design" Content="GateKeeper Team; gatekeeper@infopulse.net">
- <meta NAME="Copyright" Content="Infopulse; www.infopulse.net">
- <title>Empty</title>
- </head>
-
- <body bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080">
- <%
- if Request.ReqParam("action") = "Commit" Then
- ' Process the DNS settings
- if Request.ReqParam("Enabled") <> "" then
- DNS.Enabled = True
- else
- DNS.Enabled = False
- end if
- if Request.ReqParam("KicksDialer") <> "" then
- DNS.KicksDialer = True
- else
- DNS.KicksDialer = False
- end if
- DNS.RemoteDNS = Request.ReqParam("Remote")
-
- On Error Resume Next
- DNS.Commit
- If Not Err.Number = 0 Then
- ErrLine = Err.Description
- else
- Response.Redirect("hlpServices.htm")
- End If
- End If
- %>
- <p><big><strong><font face="Arial">Edit the DNS service</font></strong></big></p>
- <%
- If Not Len(ErrLine) = 0 Then
- Response.Write("<B><FONT COLOR=""#FF0000"">" & ErrLine & "</FONT></B><br>")
- End If
- %>
-
- <form method="POST" action= "/services/editdns.agp">
- <div>
- <table border="1" cellpadding="0" cellspacing="0" width="60%">
- <tr>
- <td width="50%" bgcolor="#183159"><strong><font face="Arial" color="#FFFFFF">
- Option
- </font></strong></td>
- <td width="50%" bgcolor="#183159"><strong><font face="Arial" color="#FFFFFF">
- Value
- </font></strong></td>
- </tr>
- <tr>
- <td width="50%"><strong><font face="Arial">
- DNS Enabled
- </font></strong></td>
- <td width="50%">
- <input type="checkbox" name="Enabled" value="ON" <% if DNS.Enabled then Response.Write("checked") end if%>>
- </td>
- </tr>
- <tr>
- <td width="50%"><strong><font face="Arial">
- DNS kicks dialer
- </font></strong></td>
- <td width="50%">
- <input type="checkbox" name="KicksDialer" value="ON" <% if DNS.KicksDialer then Response.Write("checked") end if%>>
- </td>
- </tr>
- <tr>
- <td width="50%"><strong><font face="Arial">
- Remote DNS
- </font></strong></td>
- <td width="50%">
- <input type="text" size="24" name="Remote" value="<%Response.Write(DNS.RemoteDNS)%>">
- </td>
- </tr>
- </table></div>
- <br>
- <p><input type="submit" name="action" value="Commit"></p>
- </form>
-
- <font size="1" face="Arial"><%Response.Write(GateKeeper.Version)%></font>
-
- </body>
- </html>
-